package com.luchao.back.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("颜色")
public class Color {

    @ApiModelProperty("颜色ID")
    private int cid;

    @ApiModelProperty("颜色名称")
    private String cname;

    @ApiModelProperty("颜色备注")
    private String cremarks;

    @ApiModelProperty("颜色禁用标识")
    private boolean cstate;

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCremarks() {
        return cremarks;
    }

    public void setCremarks(String cremarks) {
        this.cremarks = cremarks;
    }

    public boolean isCstate() {
        return cstate;
    }

    public void setCstate(boolean cstate) {
        this.cstate = cstate;
    }

    @Override
    public String toString() {
        return "Color{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", cremarks='" + cremarks + '\'' +
                ", cstate=" + cstate +
                '}';
    }
}
